import Vue from 'vue'
import App from './App'

// 引入全局uView
import uView from '@/uni_modules/uview-ui'
import { aToast, aNav } from '@/util/uni-api'

// 全局提示函数
Vue.prototype.$toast = aToast

// 路由函数
Vue.prototype.$nav = aNav

Vue.config.productionTip = false

App.mpType = 'app'
Vue.use(uView)



const app = new Vue({
    ...App
})

// // 引入请求封装，uView版request
// require('./util/request/index')(app)

app.$mount()
